package remote.rmicase;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

/**
 * description:
 * 自定义远程调用接口实现类
 * @author Yuanml on 2020/10/29 16:00
 */
public class MyRemoteImpl extends UnicastRemoteObject implements MyRemote{
    protected MyRemoteImpl() throws RemoteException {
    }

    @Override
    public String hello(String name) throws RemoteException {
        return "hello, " + name;
    }
}
